﻿<%@ Page Language="C#" MasterPageFile="~/Default.Master" AutoEventWireup="true" CodeBehind="ListProgramme.aspx.cs" Inherits="MockPrjTeam1.Pages.Views.ListProgramme" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    </asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div id="templatemo_main">
<table width="100%">
            <tr>
                <td colspan="2">
                    <asp:Label ID="LabelTile" Font-Size="Large" ForeColor="Green"   runat="server" Text="Programme List"></asp:Label>
                </td>
            </tr>
            <tr>
                <td width="60%">
                    <asp:LinkButton ID="LinkButton1" ForeColor="Blue" runat="server" Text="All" CssClass="style1"/>&nbsp;|&nbsp;
                    <asp:LinkButton ID="LinkButton2" ForeColor="Blue" runat="server" Text="0-9" CssClass="style1"/>&nbsp;|&nbsp;
                    <asp:LinkButton ID="LinkButton3" ForeColor="Blue" runat="server" Text="A B C D E" CssClass="style1"/>&nbsp;|&nbsp;
                    <asp:LinkButton ID="LinkButton4" ForeColor="Blue" runat="server" Text="F G H I J" CssClass="style1"/>&nbsp;|&nbsp;
                    <asp:LinkButton ID="LinkButton5" ForeColor="Blue" runat="server" Text="K L M N" CssClass="style1"/>&nbsp;|&nbsp;
                    <asp:LinkButton ID="LinkButton6" ForeColor="Blue" runat="server" Text="O P Q R" CssClass="style1"/>&nbsp;|&nbsp;
                    <asp:LinkButton ID="LinkButton7" ForeColor="Blue" runat="server" Text="S T U V" CssClass="style1"/>&nbsp;|&nbsp;
                    <asp:LinkButton ID="LinkButton8" ForeColor="Blue" runat="server" Text="W X Y Z" CssClass="style1"/>&nbsp;&nbsp;&nbsp;&nbsp;
                </td>
                <td align="right">
                    <asp:Button ID="ButtonInActive" runat="server" Text="In-active" />&nbsp;
                    <asp:Button ID="ButtonCreate" runat="server" Text="Create" PostBackUrl="~/Pages/Forms/DetailProgramme.aspx" />&nbsp;
                    <asp:CheckBox ID="CheckBoxInActive" runat="server" Text="Include In-active"/>
                </td>
            </tr>            
</table>
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
        BorderWidth="1px" Width="100%" AllowPaging="True" DataKeyNames="ProgrammeID" PageSize="10"
            ShowHeaderWhenEmpty="True" EmptyDataText="Chua co du lieu" EnableModelValidation="True">
            <Columns>
                
                <asp:HyperLinkField DataNavigateUrlFields="ProgrammeID" 
                    DataNavigateUrlFormatString="/Pages/Forms/DetailProgramme.aspx?id={0}" 
                    DataTextField="ProgrammeName" HeaderText="Programme Name" SortExpression="Programme Name">
                <ControlStyle ForeColor="Blue" />
                </asp:HyperLinkField>
                <asp:BoundField DataField="Description" HeaderText="Description" />
                <asp:BoundField DataField="ContactName" HeaderText="Contact Name" 
                    SortExpression="Contact Name" />                                
            </Columns> 
            <pagersettings mode="Numeric" position="Bottom" pagebuttoncount="10"/>
            <pagerstyle backcolor="LightBlue"/>     
        </asp:GridView>   
</div>
</asp:Content>
